package view.component.dialog
{
	public class AlertDialog extends ConfirmDialog
	{
		public function AlertDialog()
		{
			super();
		}
		
		override protected function get skinReference():String
		{
			return "swf.ui.AlertDialogSkin";
		}
		
		override protected function get proxyMapping():Array
		{
			return [{ skin:"", classRef: AlertDialogProxy, id:"window" }];
		}
        
        public static function show(data:*, title:String = "", classRef:Class = null):AlertDialog
        {
            return ConfirmDialog.show(data, null, null, title, "", "", (classRef == null ? AlertDialog : classRef)) as AlertDialog;
        }
	}
}